package com.example.studentsRoom.service;

import com.example.studentsRoom.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.studentsRoom.form.SearchForm;
import com.example.studentsRoom.vo.PageVo;
import com.example.studentsRoom.vo.StudentVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author admin
 * @since 2022-07-19
 */
public interface IStudentService extends IService<Student> {


    public Boolean saveStudent(Student student);

    public PageVo listPage(Integer page, Integer size);

    public PageVo search(SearchForm searchForm);

    public Boolean update(StudentVo studentVo);

    public Boolean deleteById(String id);
}
